/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.asportoonline.miows;

import java.util.List;
import javax.ejb.EJB;
import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.ejb.Stateless;
import org.asportoonline.business.beans.WebServiceManagerLocal;

/**
 *
 * @author Valerio Costamagna <costamagna.valerio@gmail.com>
 */
@WebService(serviceName = "MioWebService")
@Stateless()
public class MioWebService {
    @EJB
    private WebServiceManagerLocal ejbRef;

     @WebMethod(operationName = "cercaTutteLocalita")
    public List<String> cercaTutteLocalita() {
        return ejbRef.cercaTutteLocalita();
    }
       @WebMethod(operationName = "elencoLocali")
    public List<String[]> elencoLocali() {
        return ejbRef.elencoLocali();
    }
}
